package com.kc.business.domain;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table(name = "kc_goods_relation_category")
public class BizGoodsRelationCategory {
    @Id
    private Integer id;
    /*商品id*/
    private Integer goodsId;
    /*类别id*/
    private Integer categoryId;
    public BizGoodsRelationCategory(){}
    public BizGoodsRelationCategory(Integer goodsId, Integer categoryId) {
        this.goodsId = goodsId;
        this.categoryId = categoryId;
    }
}
